include Make.inc

###### compilation options
BYTOPTS    = -g
BYTFLAGS   = $(BYTOPTS) -I $(LACAML)

###### objects
BYTLIB = \
MLlab.cmo \
Lacaml_ext.cmo

BYTSPGL1 = \
Lacaml_L1.cmo \
projection.cmo
#L1.cmo

BYTDEMOL1 = \
demoL1.cmo

all : demoL1

demoL1: $(BYTLIB) $(BYTSPGL1) $(BYTDEMOL1)
	$(OCAMLC) $(BYTFLAGS) bigarray.cma lacaml.cma \
	$(BYTLIB) $(BYTSPGL1) $(BYTDEMOL1) -o demoL1

clean:
	$(RM) $(BYTLIB) $(BYTSPGL1) $(BYTDEMOL1) *.cmi \
	demoL1
